$OpenBSD: patch-lib_blkid_getsize_c,v 1.3 2014/11/08 11:28:04 sthen Exp $
--- lib/blkid/getsize.c.orig	Sat Aug  2 21:26:22 2014
+++ lib/blkid/getsize.c	Sat Nov  8 10:41:17 2014
@@ -25,6 +25,7 @@
 #include <fcntl.h>
 #ifdef HAVE_SYS_IOCTL_H
 #include <sys/ioctl.h>
+#include <sys/dkio.h>
 #endif
 #ifdef HAVE_LINUX_FD_H
 #include <linux/fd.h>
